package cn.com.code.hwjs;

import java.math.BigInteger;
import java.util.Scanner;

/**
 * https://www.nowcoder.com/practice/49e772ab08994a96980f9618892e55b6?tpId=37&tqId=21280&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3Fdifficulty%3D3%26page%3D1%26pageSize%3D50%26search%3D%26tpId%3D37%26type%3D37&difficulty=3&judgeStatus=undefined&tags=&title=
 *
 * @author zhengpei
 * @date 2022/5/3
 */
public class Hwjs57 {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigInteger b1 = new BigInteger(sc.nextLine());
    BigInteger b2 = new BigInteger(sc.nextLine());
    System.out.println(b1.add(b2));
  }

}
